package cn.qzuie.smart.module.dorm.controller.admin.billpay.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import java.math.BigDecimal;

@Schema(description = "管理后台 - 账单支付新增/修改 Request VO")
@Data
public class BillPaySaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "16871")
    private Long id;

    @Schema(description = "账单编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "24210")
    @NotNull(message = "账单编号不能为空")
    private Long billId;

    @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "5215")
    @NotNull(message = "用户编号不能为空")
    private Long userId;

    @Schema(description = "已付金额", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "已付金额不能为空")
    private BigDecimal paidAmount;

    @Schema(description = "支付方式（'alipay','wechat','bank','cash'）", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "支付方式（'alipay','wechat','bank','cash'）不能为空")
    private String paymentMethod;

}